package com.example.comsys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner.Mode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author lqs2
 */
@SpringBootApplication(scanBasePackages = {"com.example.comsys"})
@MapperScan(basePackages = {"com.example.comsys.dao"})
public class ComSysApp {

  public static void main(String[] args) {
    SpringApplication sa = new SpringApplication(ComSysApp.class);
    sa.setBannerMode(Mode.OFF);
    ConfigurableApplicationContext applicationContext = sa.run(args);

    // WageService wageService = (WageService) applicationContext.getBean("wageServiceImpl");
    // List<Wage> wages = wageService.queryAllWage(new WageQueryParam());
    // System.out.println(wages);
  }


}
